package com.charlotte.study.gupao.builder.common;

/**
 * @author junjie.ding
 * @date 2020/3/2
 */
public class main {
    public static void main(String[] args) {

        CourseBuilder builder = new CourseBuilder();
        builder.addName("JAVA架构师课程")
                .addPpt("PPT")
                .addVideo("video")
                .addNote("note")
                .addHomework("homework");

        JavaCourse course = builder.bulid();

        System.out.println(course);
    }
}
